package com.asiainfo.dacp.datastash.orm.data;

import com.asiainfo.dacp.datastash.orm.po.core.DataStashStepDefinePo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by winter on 2017/11/1.
 */
public class DataStashStepDefineData {

    public List<DataStashStepDefinePo> data() {
        List<DataStashStepDefinePo> result = new ArrayList<DataStashStepDefinePo>();

        result.add(new DataStashStepDefinePo("fileArrival","文件到达","sched","controlCmd","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"调度类型\",\"name\":\"schedType\",\"type\":\"inputText\",\"isShow\":true,\"isdisabled\":true,\"defaultValue\":\"file\"},{\"name\":\"dsName\",\"label\":\"数据源\",\"placeholder\":\"请选择数据源\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListInDsCategoryOrDsType,ftp|ssh|http\",\"isShow\":true},{\"label\":\"目录\",\"name\":\"stateExpr\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":\"\"},{\"label\":\"是否定时启动\",\"name\":\"isEditColumn\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"cronExpr\"]},{\"label\":\"cron表达式\",\"name\":\"cronExpr\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"1\"]}]}",20,"fileArrival","1","image") );
        result.add(new DataStashStepDefinePo("timing","定时","sched","controlCmd",null,4,"timing","1","image") );
        result.add(new DataStashStepDefinePo("tableArrival","表到达","sched","controlCmd","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"调度类型\",\"name\":\"schedType\",\"type\":\"inputText\",\"isShow\":true,\"isdisabled\":true,\"defaultValue\":\"sql\"},{\"name\":\"dsName\",\"label\":\"数据源\",\"placeholder\":\"请选择数据源\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,mysql\",\"isShow\":true},{\"label\":\"sql语句\",\"name\":\"stateExpr\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":\"\"},{\"label\":\"是否定时启动\",\"name\":\"isEditColumn\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"cronExpr\"]},{\"label\":\"cron表达式\",\"name\":\"cronExpr\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"1\"]}]}",5,"tableArrival","1","image") );
        
        result.add(new DataStashStepDefinePo("shard","分片","shard","controlCmd","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"分片数\",\"name\":\"shardCnt\",\"type\":\"inputNumber\",\"isShow\":true,\"defaultValue\":1,\"min\":0},{\"label\":\"分片类型\",\"name\":\"strg\",\"type\":\"radio\",\"options\":[{\"label\":\"hdfs\",\"value\":\"hdfs\"},{\"label\":\"文件\",\"value\":\"file\"},{\"label\":\"SQL\",\"value\":\"sql\"}],\"isShow\":true,\"defaultValue\":\"hdfs\",\"relatedItems\":[\"filter\"],\"change\":\"function(self) { self.currentValue.contents = []; self.config.beforeRender(self); }\"},{\"label\":\"数据文件\",\"name\":\"contents\",\"type\":\"cardForm\",\"optionMap\":{\"file\":{\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListInDsCategoryOrDsType,ftp|ssh|http\"},\"sql\":{\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,mysql\"},\"hdfs\":{\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,hadoop\"}},\"config\":{\"labelWidth\":\"80px\",\"fields\":[{\"name\":\"dsName\",\"label\":\"数据源\",\"type\":\"select\",\"filterable\": true,\"width\":\"100\",\"options\":[],\"isShow\":true,\"defaultValue\":\"\"},{\"name\":\"content\",\"label\":\"目录\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"正则\",\"name\":\"filter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"file\"]}]},\"isShow\":true,\"defaultValue\":[]}],\"rules\":{\"shardCnt\":[{\"validator\":\"function(rule, value, callback) { if (!Number.isInteger(value)) { callback(new Error('必须为整数')); } callback(); }\",\"trigger\":\"blur\"}]},\"beforeRender\":\"function(self) { var contentStr = { file: '文件路径', sql: 'SQL', hdfs: '目录' }; var optionMap; for (var i in self.config.fields) { if (self.config.fields[i].name == 'contents') { optionMap = self.config.fields[i].optionMap; for (var j in self.config.fields[i].config.fields) { if (self.config.fields[i].config.fields[j].name == 'dsName') { self.config.fields[i].config.fields[j].options = optionMap[self.currentValue.strg].options; } else if (self.config.fields[i].config.fields[j].name == 'content') { self.config.fields[i].config.fields[j].label = contentStr[self.currentValue.strg]; } } } } } \"}",22,"shard","1","swimlane") );
        
        result.add(new DataStashStepDefinePo("fileTrans","文件传输","dp","controlCmd","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"源文件\",\"name\":\"sourceVfsPath\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"目标文件\",\"name\":\"targetVfsPath\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"源文件字符集\",\"name\":\"sourceCharset\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"目标文件字符集\",\"name\":\"targetCharset\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否追加写\",\"name\":\"isAppend\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"true\"},{\"label\":\"否\",\"value\":\"false\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否行读\",\"name\":\"isRowRead\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"true\"},{\"label\":\"否\",\"value\":\"false\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"数据起始行\",\"name\":\"startRowNum\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}]}",23,"ftpreader","1","image") );
        result.add(new DataStashStepDefinePo("sql","执行sql","dp","controlCmd","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"数据库\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListInDsCategoryOrDsType,rdb|hive\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"sql脚本\",\"name\":\"sql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}]}",24,"ftpreader","1","image") );
        result.add(new DataStashStepDefinePo("loadFile2Oracle","Oracle文件加载","dp","controlCmd","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"数据库\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListInDsCategoryOrDsType,rdb|hive\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"分割符\",\"name\":\"delimiter\",\"type\":\"radio\",\"options\":[{\"label\":\"hive2Hdfs特殊字符\",\"value\":\"^A\"},{\"label\":\"TAB键\",\"value\":\"TAB\"},{\"label\":\"逗号\",\"value\":\"comma\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件名\",\"name\":\"filePath\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"目标表\",\"name\":\"targetTable\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"字段信息\",\"name\":\"columns\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"导入模式\",\"name\":\"mode\",\"type\":\"radio\",\"options\":[{\"label\":\"追加\",\"value\":\"append\"},{\"label\":\"覆盖\",\"value\":\"replace\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"控制文件名\",\"name\":\"fileName\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}]}",25,"ftpreader","1","image") );
        result.add(new DataStashStepDefinePo("fileMove","文件移动","dp","controlCmd","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"VFS服务器\",\"name\":\"vfsServer\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件相对路径\",\"name\":\"relativePath\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件新路径\",\"name\":\"newPath\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}]}",26,"ftpreader","1","image") );
        
        result.add(new DataStashStepDefinePo("kafkawriter","KAFKA加载","datax","rowLevelLoad","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"kafka server\",\"name\":\"server\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"kafka 队列\",\"name\":\"topic\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"server\":[{\"required\":true,\"message\":\"kafka server不能为空\"}],\"topic\":[{\"required\":true,\"message\":\"kafka 队列不能为空\"}]}}",6,"ftpwriter","1","image") );
        result.add(new DataStashStepDefinePo("txtfilewriter","本地文件加载","datax","rowLevelLoad","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"文件路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件名\",\"name\":\"fileName\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"数据清理处理模式\",\"name\":\"writeMode\",\"type\":\"select\",\"options\":[{\"label\":\"truncate\",\"value\":\"truncate\"},{\"label\":\"append\",\"value\":\"append\"},{\"label\":\"nonConflict\",\"value\":\"nonConflict\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"字段分割符\",\"name\":\"fieldDelimiter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\", \"},{\"label\":\"文件压缩类型\",\"name\":\"compress\",\"type\":\"select\",\"options\":[{\"label\":\"zip\",\"value\":\"zip\"},{\"label\":\"lzo\",\"value\":\"lzo\"},{\"label\":\"lzop\",\"value\":\"lzop\"},{\"label\":\"tgz\",\"value\":\"tgz\"},{\"label\":\"bzip2\",\"value\":\"bzip2\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件编码\",\"name\":\"encoding\",\"type\":\"select\",\"options\":[{\"label\":\"UTF-8\",\"value\":\"UTF-8\"},{\"label\":\"GBK\",\"value\":\"GBK\"}],\"isShow\":true,\"defaultValue\":\"UTF-8\"},{\"label\":\"null格式\",\"name\":\"nullFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\\\\N\"},{\"label\":\"日期格式\",\"name\":\"dateFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件写出格式\",\"name\":\"fileFormat\",\"type\":\"select\",\"options\":[{\"label\":\"csv\",\"value\":\"csv\"},{\"label\":\"text\",\"value\":\"text\"}],\"isShow\":true,\"defaultValue\":\"text \"},{\"label\":\"表头\",\"name\":\"header\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}]}",7,"txtfilewriter","1","image") );
        result.add(new DataStashStepDefinePo("ftpwriter","FTP加载","datax","rowLevelLoad","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"FTP服务器名称\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,ftp\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件名\",\"name\":\"fileName\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"数据清理处理模式\",\"name\":\"writeMode\",\"type\":\"select\",\"options\":[{\"label\":\"truncate\",\"value\":\"truncate\"},{\"label\":\"append\",\"value\":\"append\"},{\"label\":\"nonConflict\",\"value\":\"nonConflict\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"字段分割符\",\"name\":\"fieldDelimiter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\", \"},{\"label\":\"文件压缩类型\",\"name\":\"compress\",\"type\":\"select\",\"options\":[{\"label\":\"zip\",\"value\":\"zip\"},{\"label\":\"lzo\",\"value\":\"lzo\"},{\"label\":\"lzop\",\"value\":\"lzop\"},{\"label\":\"tgz\",\"value\":\"tgz\"},{\"label\":\"bzip2\",\"value\":\"bzip2\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件编码\",\"name\":\"encoding\",\"type\":\"select\",\"options\":[{\"label\":\"UTF-8\",\"value\":\"UTF-8\"},{\"label\":\"GBK\",\"value\":\"GBK\"}],\"isShow\":true,\"defaultValue\":\"UTF-8\"},{\"label\":\"null格式\",\"name\":\"nullFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\\\\N\"},{\"label\":\"日期格式\",\"name\":\"dateFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件写出格式\",\"name\":\"fileFormat\",\"type\":\"select\",\"options\":[{\"label\":\"csv\",\"value\":\"csv\"},{\"label\":\"text\",\"value\":\"text\"}],\"isShow\":true,\"defaultValue\":\"text \"},{\"label\":\"表头\",\"name\":\"header\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}]}",8,"ftpwriter","1","image") );
        result.add(new DataStashStepDefinePo("hdfswriter","HDFS加载","datax","rowLevelLoad","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"HDFS数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,hadoop\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件类型\",\"name\":\"fileType\",\"type\":\"select\",\"options\":[{\"label\":\"ORC\",\"value\":\"ORC\"},{\"label\":\"TEXT\",\"value\":\"TEXT\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件名\",\"name\":\"fileName\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否编辑文件列\",\"name\":\"isEditColumn\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"column\"]},{\"label\":\"文件列\",\"name\":\"column\",\"type\":\"tableForm\",\"config\":{\"fields\":[{\"name\":\"type\",\"columnLabel\":\"类型\",\"label\":\"\",\"type\":\"select\",\"options\":[{\"label\":\"string\",\"value\":\"string\"},{\"label\":\"long\",\"value\":\"long\"},{\"label\":\"boolean\",\"value\":\"boolean\"},{\"label\":\"double\",\"value\":\"double\"},{\"label\":\"date\",\"value\":\"date\"}],\"isShow\":true,\"defaultValue\":\"string\"},{\"name\":\"name\",\"columnLabel\":\"名称\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}]},\"isShow\":false,\"defaultValue\":[\"*\"],\"dependVal\":[\"1\"]},{\"label\":\"数据清理模式\",\"name\":\"writeMode\",\"type\":\"select\",\"options\":[{\"label\":\"append\",\"value\":\"append\"},{\"label\":\"nonConflict\",\"value\":\"nonConflict\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"字段分割符\",\"name\":\"fieldDelimiter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件压缩类型\",\"name\":\"compress\",\"type\":\"select\",\"options\":[{\"label\":\"gzip\",\"value\":\"gzip\"},{\"label\":\"bzip2\",\"value\":\"bzip2\"},{\"label\":\"NONE\",\"value\":\"NONE\"},{\"label\":\"SNAPPY\",\"value\":\"SNAPPY\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件编码\",\"name\":\"encoding\",\"type\":\"select\",\"options\":[{\"label\":\"UTF-8\",\"value\":\"UTF-8\"},{\"label\":\"GBK\",\"value\":\"GBK\"}],\"isShow\":true,\"defaultValue\":\"UTF-8\"}]}",9,"hdfswriter","1","image") );
        result.add(new DataStashStepDefinePo("db2writer","DB2加载","datax","rowLevelLoad","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\":true,\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,db2\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载列\",\"name\":\"column\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载前执行SQL\",\"name\":\"preSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载后执行SQL\",\"name\":\"postSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"批量提交记录数\",\"name\":\"batchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"}]}",10,"db2writer","1","image") );
        result.add(new DataStashStepDefinePo("oraclewriter","ORACLE加载","datax","rowLevelLoad","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\":true,\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,oracle\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载列\",\"name\":\"column\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载前执行SQL\",\"name\":\"preSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载后执行SQL\",\"name\":\"postSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"批量提交记录数\",\"name\":\"batchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"},{\"label\":\"session\",\"name\":\"session\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"session\":[{\"validator\":\"function(rule, value, callback) { if (value) { if (!window.isJson(value)) { callback(new Error('session格式必须为json格式')); } } callback(); }\",\"trigger\":\"blur\"}]}}",11,"oraclewriter","1","image") );
        result.add(new DataStashStepDefinePo("mysqlwriter","MYSQL加载","datax","rowLevelLoad","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\":true,\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,mysql\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载列\",\"name\":\"column\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"session\",\"name\":\"session\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载前执行SQL\",\"name\":\"preSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载后执行SQL\",\"name\":\"postSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"写入数据模式\",\"name\":\"writeMode\",\"type\":\"select\",\"options\":[{\"label\":\"insert\",\"value\":\"insert\"},{\"label\":\"replace\",\"value\":\"replace\"},{\"label\":\"update \",\"value\":\"update \"}],\"isShow\":true,\"defaultValue\":\"insert\"},{\"label\":\"批量提交记录数\",\"name\":\"batchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"}],\"rules\":{\"session\":[{\"validator\":\"function(rule, value, callback) { if (value) { if (!window.isJson(value)) { callback(new Error('session格式必须为json格式')); } } callback(); }\",\"trigger\":\"blur\"}]}}",12,"mysqlwriter","1","image") );
        result.add(new DataStashStepDefinePo("rdbmswriter","关系数据库加载","datax","rowLevelLoad","{\"labelWidth\":\"150px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,rdb\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载列\",\"name\":\"column\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载前执行SQL\",\"name\":\"preSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"加载后执行SQL\",\"name\":\"postSql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"批量提交记录数\",\"name\":\"batchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"}]}",2,"rdbmswriter","1","image") );
        
        result.add(new DataStashStepDefinePo("rdbmsreader","关系数据库抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\":true,\"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,rdb\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"切分主键\",\"name\":\"splitPk\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否按表抽取\",\"name\":\"isTableMode\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"table\"]},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"1\"]},{\"label\":\"抽取列\",\"name\":\"column\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"WHERE条件\",\"name\":\"where\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"抽取SQL\",\"name\":\"querySql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"批量获取条数\",\"name\":\"fetchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"}]}",13,"rdbmsreader","1","image") );
        result.add(new DataStashStepDefinePo("txtfilereader","本地文件抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"文件路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否编辑文件列\",\"name\":\"isEditColumn\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"column\"]},{\"label\":\"文件列\",\"name\":\"column\",\"type\":\"tableForm\",\"config\":{\"fields\":[{\"name\":\"type\",\"columnLabel\":\"类型\",\"label\":\"\",\"type\":\"select\",\"options\":[{\"label\":\"string\",\"value\":\"string\"},{\"label\":\"long\",\"value\":\"long\"},{\"label\":\"boolean\",\"value\":\"boolean\"},{\"label\":\"double\",\"value\":\"double\"},{\"label\":\"date\",\"value\":\"date\"}],\"isShow\":true,\"defaultValue\":\"string\"},{\"name\":\"index\",\"columnLabel\":\"序号\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"change\":\"function(self) { if (self.currentValue.index) { self.currentValue.value = ''; } }\"},{\"name\":\"value\",\"columnLabel\":\"常量\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"change\":\"function(self) { if (self.currentValue.value) { self.currentValue.index = ''; } }\"},{\"name\":\"format\",\"columnLabel\":\"格式\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"index\":[{\"validator\":\"function(rule, value, callback) { if (value) { value = Number(value); if (typeof value == 'number') { if (!Number.isInteger(value)) { callback(new Error('请输入数字值')); } } } callback(); }\",\"trigger\":\"blur\"}]}},\"isShow\":false,\"defaultValue\":[\"*\"],\"dependVal\":[\"1\"]},{\"label\":\"字段分割符\",\"name\":\"fieldDelimiter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\", \"},{\"label\":\"文件压缩类型\",\"name\":\"compress\",\"type\":\"select\",\"options\":[{\"label\":\"zip\",\"value\":\"zip\"},{\"label\":\"gzip\",\"value\":\"gzip\"},{\"label\":\"bzip2\",\"value\":\"bzip2\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件编码\",\"name\":\"encoding\",\"type\":\"select\",\"options\":[{\"label\":\"UTF-8\",\"value\":\"UTF-8\"},{\"label\":\"GBK\",\"value\":\"GBK\"}],\"isShow\":true,\"defaultValue\":\"UTF-8\"},{\"label\":\"是否跳过首行\",\"name\":\"skipHeader\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\"},{\"label\":\"null格式\",\"name\":\"nullFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\\\\N\"},{\"label\":\"CSV类型配置参数\",\"name\":\"csvReaderConfig\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"csvReaderConfig\":[{\"validator\":\"function(rule, value, callback) { if (value) { if (!window.isJson(value)) { callback(new Error('CSV类型配置参数格式必须为json格式')); } } callback(); }\",\"trigger\":\"blur\"}]}}",14,"txtfilereader","1","image") );
        result.add(new DataStashStepDefinePo("ftpreader","FTP采集","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"是否依赖前置参数\",\"name\":\"isRelyPre\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\"},{\"label\":\"FTP服务器名称\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,ftp\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否编辑文件列\",\"name\":\"isEditColumn\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"column\"]},{\"label\":\"文件列\",\"name\":\"column\",\"type\":\"tableForm\",\"config\":{\"fields\":[{\"name\":\"type\",\"columnLabel\":\"类型\",\"label\":\"\",\"type\":\"select\",\"options\":[{\"label\":\"string\",\"value\":\"string\"},{\"label\":\"long\",\"value\":\"long\"},{\"label\":\"boolean\",\"value\":\"boolean\"},{\"label\":\"double\",\"value\":\"double\"},{\"label\":\"date\",\"value\":\"date\"}],\"isShow\":true,\"defaultValue\":\"string\"},{\"name\":\"index\",\"columnLabel\":\"序号\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"change\":\"function(self) { if (self.currentValue.index) { self.currentValue.value = ''; } }\"},{\"name\":\"value\",\"columnLabel\":\"常量\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"change\":\"function(self) { if (self.currentValue.value) { self.currentValue.index = ''; } }\"},{\"name\":\"format\",\"columnLabel\":\"格式\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"index\":[{\"validator\":\"function(rule, value, callback){ if (value) { value = Number(value); if (typeof value == 'number') { if (!Number.isInteger(value)) { callback(new Error('请输入数字值')); } } } callback(); }\",\"trigger\":\"blur\"}]}},\"isShow\":false,\"defaultValue\":[\"*\"],\"dependVal\":[\"1\"]},{\"label\":\"字段分割符\",\"name\":\"fieldDelimiter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\", \"},{\"label\":\"文件压缩类型\",\"name\":\"compress\",\"type\":\"select\",\"options\":[{\"label\":\"zip\",\"value\":\"zip\"},{\"label\":\"gzip\",\"value\":\"gzip\"},{\"label\":\"bzip2\",\"value\":\"bzip2\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件编码\",\"name\":\"encoding\",\"type\":\"select\",\"options\":[{\"label\":\"UTF-8\",\"value\":\"UTF-8\"},{\"label\":\"GBK\",\"value\":\"GBK\"}],\"isShow\":true,\"defaultValue\":\"UTF-8\"},{\"label\":\"是否跳过首行\",\"name\":\"skipHeader\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\"},{\"label\":\"null格式\",\"name\":\"nullFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\\\\N\"},{\"label\":\"遍历文件夹最大层数\",\"name\":\"maxTraversalLevel\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"100\"},{\"label\":\"CSV类型配置参数\",\"name\":\"csvReaderConfig\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"csvReaderConfig\":[{\"validator\":\"function(rule, value, callback) { if (value) { if (!window.isJson(value)) { callback(new Error('CSV类型配置参数格式必须为json格式')); } } callback(); }\",\"trigger\":\"blur\"}]}}",15,"ftpreader","1","image") );
        result.add(new DataStashStepDefinePo("hdfsreader","HDFS抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"是否依赖前置参数\",\"name\":\"isRelyPre\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\"},{\"label\":\"HDFS数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,hadoop\",\"isShow\":\"true\",\"defaultValue\":\"\"},{\"label\":\"文件路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"文件类型\",\"name\":\"fileType\",\"type\":\"select\",\"options\":[{\"label\":\"ORC\",\"value\":\"ORC\"},{\"label\":\"TEXT\",\"value\":\"TEXT\"},{\"label\":\"CSV\",\"value\":\"CSV\"},{\"label\":\"SEQUENCE\",\"value\":\"SEQUENCE\"},{\"label\":\"RC\",\"value\":\"RC\"}],\"isShow\":\"true\",\"defaultValue\":\"TEXT\"},{\"label\":\"文件编码\",\"name\":\"encoding\",\"type\":\"select\",\"options\":[{\"label\":\"UTF-8\",\"value\":\"UTF-8\"},{\"label\":\"GBK\",\"value\":\"GBK\"}],\"isShow\":true,\"defaultValue\":\"UTF-8\"},{\"label\":\"文件压缩类型\",\"name\":\"compress\",\"type\":\"select\",\"options\":[{\"label\":\"gzip\",\"value\":\"gzip\"},{\"label\":\"bz2\",\"value\":\"bz2\"},{\"label\":\"zip\",\"value\":\"zip\"},{\"label\":\"lzo\"},{\"label\":\"lzo_deflate\",\"value\":\"lzo_deflate\"},{\"label\":\"hadoop-snappy\",\"value\":\"hadoop-snappy\"},{\"label\":\"framing-snappy\",\"value\":\"framing-snappy\"}],\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否编辑文件列\",\"name\":\"isEditColumn\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"column\"]},{\"label\":\"文件列\",\"name\":\"column\",\"type\":\"tableForm\",\"config\":{\"fields\":[{\"name\":\"type\",\"columnLabel\":\"类型\",\"label\":\"\",\"type\":\"select\",\"options\":[{\"label\":\"string\",\"value\":\"string\"},{\"label\":\"long\",\"value\":\"long\"},{\"label\":\"boolean\",\"value\":\"boolean\"},{\"label\":\"double\",\"value\":\"double\"},{\"label\":\"date\",\"value\":\"date\"}],\"isShow\":true,\"defaultValue\":\"string\"},{\"name\":\"index\",\"columnLabel\":\"序号\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"change\":\"function(self) { if (self.currentValue.index) { self.currentValue.value = ''; } }\"},{\"name\":\"value\",\"columnLabel\":\"常量\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"change\":\"function(self) { if (self.currentValue.value) { self.currentValue.index = ''; } }\"},{\"name\":\"format\",\"columnLabel\":\"格式\",\"label\":\"\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"index\":[{\"validator\":\"function(rule, value, callback) { if (value) { value = Number(value); if (typeof value == 'number') { if (!Number.isInteger(value)) { callback(new Error('请输入数字值')); } } } callback(); }\",\"trigger\":\"blur\"}]}},\"isShow\":false,\"defaultValue\":[\"*\"],\"dependVal\":[\"1\"]},{\"label\":\"null格式\",\"name\":\"nullFormat\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\\\\N\"},{\"label\":\"字段分割符\",\"name\":\"fieldDelimiter\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\", \"},{\"label\":\"CSV类型配置参数\",\"name\":\"csvReaderConfig\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"csvReaderConfig\":[{\"validator\":\"function(rule, value, callback) { if (value) { if (!window.isJson(value)) { callback(new Error('CSV类型配置参数格式必须为json格式')); } } callback(); }\",\"trigger\":\"blur\"}]}}",16,"hdfsreader","1","image") );
        result.add(new DataStashStepDefinePo("db2reader","DB2抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,db2\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"切分主键\",\"name\":\"splitPk\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否按表抽取\",\"name\":\"isTableMode\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"table\"]},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"1\"]},{\"label\":\"抽取列\",\"name\":\"column\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"WHERE条件\",\"name\":\"where\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"抽取SQL\",\"name\":\"querySql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"批量获取条数\",\"name\":\"fetchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"}]}",17,"db2reader","1","image") );
        result.add(new DataStashStepDefinePo("oraclereader","ORACLE抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,oracle\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"切分主键\",\"name\":\"splitPk\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否按表抽取\",\"name\":\"isTableMode\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"table\"]},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"1\"]},{\"label\":\"抽取列\",\"name\":\"column\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"WHERE条件\",\"name\":\"where\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"抽取SQL\",\"name\":\"querySql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"批量获取条数\",\"name\":\"fetchSize\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"1024\"},{\"label\":\"session\",\"name\":\"session\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}],\"rules\":{\"session\":[{\"validator\":\"function(rule, value, callback) { if (value) { if (!window.isJson(value)) { callback(new Error('session格式必须为json格式')); } } callback(); }\",\"trigger\":\"blur\"}]}}",18,"oraclereader","1","image") );
        result.add(new DataStashStepDefinePo("mysqlreader","MYSQL抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"JDBC数据源\",\"name\":\"dsName\",\"type\":\"select\",\"filterable\": true, \"options\":[],\"optionClass\":\"com.asiainfo.dacp.metamodel.domain.ds.repo.MetaDataSourceRepository,findListByDsCategoryDsType,mysql\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"切分主键\",\"name\":\"splitPk\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"是否按表抽取\",\"name\":\"isTableMode\",\"type\":\"radio\",\"options\":[{\"label\":\"是\",\"value\":\"1\"},{\"label\":\"否\",\"value\":\"0\"}],\"isShow\":true,\"defaultValue\":\"0\",\"relatedItems\":[\"table\"]},{\"label\":\"表名\",\"name\":\"table\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\",\"dependVal\":[\"1\"]},{\"label\":\"抽取列\",\"name\":\"column\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"WHERE条件\",\"name\":\"where\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"抽取SQL\",\"name\":\"querySql\",\"type\":\"inputTextarea\",\"isShow\":true,\"defaultValue\":\"\"}]}",19,"mysqlreader","1","image") );
        result.add(new DataStashStepDefinePo("vfsreader","VFS文件抽取","datax","rowLevelExtract","{\"labelWidth\":\"120px\",\"fields\":[{\"label\":\"Redis 队列\",\"name\":\"fileQueue\",\"type\":\"inputText\",\"isShow\":true,\"defaultValue\":\"\"},{\"label\":\"读取后操作\",\"name\":\"afterWriter\",\"type\":\"select\",\"options\":[{\"label\":\"删除\",\"value\":\"delete\"},{\"label\":\"移动\",\"value\":\"move\"},{\"label\":\"不处理\",\"value\":\"none\"}],\"isShow\":true,\"defaultValue\":\"none\",\"relatedItems\":[\"path\"]},{\"label\":\"移动路径\",\"name\":\"path\",\"type\":\"inputText\",\"isShow\":false,\"defaultValue\":\"\",\"dependVal\":[\"move\"]}],\"rules\":{\"fileQueue\":[{\"required\":true,\"message\":\"Redis 队列\"}]}}",3,"ftpreader","1","image") );
        
        result.add(new DataStashStepDefinePo("fileNumber","文件数","datax","check",null,1,"fileNumber","1","image") );
        result.add(new DataStashStepDefinePo("rowNumber","行数","datax","check",null,21,"rowNumber","1","image") );

        


        return result;
    }
}
